package com.quickcode.threadlocal.holder;

/**
 * Created by 张波 on 2019/10/23.
 */
public class ThreadHolder {

    public final static ThreadLocal<Long> threadHolder = new ThreadLocal<>();

    public static void set(Long value) {
        threadHolder.set(value);
    }

    public static Long get() {
        return threadHolder.get();
    }

    public static void remove() {
        threadHolder.remove();
    }
}
